{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_current_language_bidi as LANGUAGE_BIDI %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}" lang="{% if LANGUAGE_BIDI %}fa{% else %}en{% endif %}" xml:lang="{% if LANGUAGE_BIDI %}fa{% else %}en{% endif %}">
<head>
	<base href="{{ request.session.current_site_url }}" />
	<title>{% trans "AMSCMS Main Title" %} - {% trans "Home" %}</title>
	
	<!-- Meta -->
	<meta http-equiv="Pragma" content="no-cache">
	<meta http-equiv="Expires" content="-1">
	<meta http-equiv="Cache-Control" content="no-cache">
	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Content-Language" content="{% if LANGUAGE_BIDI %}fa{% else %}en{% endif %}"/>
	<meta name="description" content='{% include "description.html" %}' />
	<meta name="keywords" content='{% include "keywords.html" %}' />
	
	<!-- Styles -->
	<link href="/static/styles/index.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/static/images/logo_speaker_88x85.png" rel="icon" />
	
	<!-- Scripts -->
	<script type="text/javascript" src="/static/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="/static/js/index.js"></script>
	
	<!-- RSS -->
	<link rel="alternate" title='{% trans "AMSCMS Main Title" %} - {% trans "Latest Ads RSS" %}' href="{{ request.session.current_site_url }}/rss/ads/latest/" type="application/rss+xml"/>
	
</head>
<body>
<div id="wrapper">
	<div id="header-wrapper">
		<div id="header">
			<div id="menu">
				<ul>
					<li><a href="/about/contact"><span>{% trans "Contact Us" %}</span></a></li>
					{% if user.is_authenticated %}
					<li><a href="/core/logout"><span>{% trans "Logout" %}</span></a></li>
					{% else %}
					<li><a href="/core/login"><span>{% trans "Login" %}</span></a></li>
					{% endif %}
					<li><a href="/faq"><span>{% trans "FAQ" %}</span></a></li>
					<li><a href="http://blog.egahi.com"><span>{% trans "Weblog" %}</span></a></li>
					<li><a href="/ads/register/"><span>{% trans "Register New Ad" %}</span></a></li>
					<li><a href="/"><span>{% trans "Home" %}</span></a></li>
				</ul>
			</div>
		</div>
	</div>
	<!-- end #header -->
	<div id="page">
		<div id="content">
			
			<div id="logo">
				<img src='/static/images/index_logo.jpg' />
			</div>
			
			<div id="search">
				<form method="post" action="/ads/search/">{% csrf_token %}
					<div>
						<div><input type="text" name="query" id="search-text" value="" /></div>
						<div><input type="submit" id="search-submit" value='{% trans "Search" %}' /></div>
					</div>
				</form>
			</div>
			
		</div>
		<!-- end #content -->
		
		<br class="clear" />
	</div>
	<!-- end #page -->
	
	
	<div id="footer">
	{% include "footer.html" %}
	</div>
</div>
<!-- end #footer -->
<script type="text/javascript">
	eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 2=2||[];2.5([\'8\',\'9-b-1\']);2.5([\'c\']);(d(){3 a=4.e(\'6\');a.f=\'g/h\';a.i=j;a.k=(\'7:\'==4.l.m?\'7://n\':\'o://p\')+\'.q-r.t/u.v\';3 s=4.w(\'6\')[0];s.x.y(a,s)})();',35,35,'||_gaq|var|document|push|script|https|_setAccount|UA||19275253|_trackPageview|function|createElement|type|text|javascript|async|true|src|location|protocol|ssl|http|www|google|analytics||com|ga|js|getElementsByTagName|parentNode|insertBefore'.split('|'),0,{}));
</script>
</body>
</html>
